package com.sxfans.cmbc;

import mpi.client.exception.PayException;

import com.cmbc.proxyfees.client.wart.trans.TopPayLink;
import com.cmbc.proxyfees.client.wart.trans.msg.CollPayTransReqMsg;
import com.cmbc.proxyfees.client.wart.trans.msg.CollPayTransRspMsg;
import com.cmbc.proxyfees.common.static_data.MerchantConfiguration_data;

public class CmbcTest {
	public static void main(String[] args) throws PayException, Exception {
		MerchantConfiguration_data md = new MerchantConfiguration_data(
					"D:/test@100000000010001.p12",
					"D:/cmbccreditcard.jks",
					"123456",
					"10001495126",
					"https://scqthd.3322.org:8443/cmbcproxyfees",null);
		TopPayLink tl = new TopPayLink();
		CollPayTransReqMsg col = new CollPayTransReqMsg();
		
		try{
		CollPayTransRspMsg response = tl.collPayTrans(col);
		}catch(Exception e){
			
		}
		
		
		System.out.println(System.getProperty("javax.net.ssl.keyStore"));
	}
}
